import { API } from '@/utils/api'
import service from '@/utils/https.ts'

/**
 * 所有的导出
 */
export const exportFile = (path: string, params?: object): Promise<API.responseType> => {
	return service({
		url: `/system/${path}`,
		method: 'get',
		params,
	})
}
